package com.yowasa.xiuxian.engine.hone.special;

import com.yowasa.xiuxian.annoations.SE;
import com.yowasa.xiuxian.engine.hone.SpecialInterface;
import com.yowasa.xiuxian.entity.bo.user.UserBO;
import com.yowasa.xiuxian.entity.enums.ElementEnum;

@SE(name = "偷天诀")
public class TouTianJue implements SpecialInterface {
    @Override
    public ElementEnum getElement() {
        return ElementEnum.WATER;
    }

    @Override
    public void limit(UserBO user) {
    }

    @Override
    public String limitDesc() {
        return "无";
    }

    @Override
    public String desc() {
        return "修习之后增加500年寿命";
    }

    @Override
    public void effectOnce(UserBO userBO) {
        userBO.getUserConfig().setLife(userBO.getUserConfig().getLife() + 500);
    }
}
